package com.school.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.school.entity.HljtSchoolnotify;
@Repository
public interface HljtSchoolNotifyDao {
	/**
	 * 通过样式查找通知
	 * @return
	 */
	public List<HljtSchoolnotify> findSchoolnotify(String type);
	/**
	 * 分页查询
	 * @return
	 */
	List<HljtSchoolnotify> findSchoolnotifypage(@Param(value="title")String title,@Param(value="pageSize")Integer pageSize,@Param(value="pageIndex")Integer  pageIndex, @Param(value="type")String type);
	/**
	 * 删除条数据
	 * @param id
	 * @return
	 */
	Integer deleteSchoolnotify(@Param(value="id")Integer id);
	/**
	 * 添加条数据
	 * @param hljtschoolnotify
	 * @return
	 */
	Integer addSchoolnotify(HljtSchoolnotify hljtschoolnotify);
	/**
	 * 修改条数据
	 * @param hljtschoolnotify
	 * @return
	 */
	Integer updateSchoolnotify(HljtSchoolnotify hljtschoolnotify);
	
}
